package com.linshuo.employee.repository;

import com.linshuo.employee.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {
    User findByIdCard(String idCard);
    User findByLoginName(String loginName);
} 